﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="body" runat="server">

    <div class="nameAndSearch">
        <% Html.RenderPartial("SearchControl"); %>
        <div class="userImage">
            <a href="<%=Url.Action("Index", "Profile")%>">
                Search results for &quot;<%=ViewData["Query"] %>&quot;
            </a>
        </div>
        <div class="clear"></div>
    </div>

    <% Html.RenderPartial("TabsControl"); %>
    <div class="contentPane">
        <%
            System.Collections.Generic.List<WebApp.Models.Person.Ref> results = (System.Collections.Generic.List<WebApp.Models.Person.Ref>)ViewData["Model"];
            foreach (WebApp.Models.Person.Ref person in results)
            {
                Html.RenderPartial("Person", person);
            }
        %>
        <div class="clear"></div>
    </div>
    <div class="clear"></div>

    <script type="text/javascript">
        $(document).ready(function () {
            $('.requestLinks').attr('href', function (i, val) {
                return val + '&app_id=' + APP_ID;
            });
        });
    </script>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
</asp:Content>
